﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels.Tcp;
using System.Runtime.Serialization.Formatters;
using System.Threading;
using System.Collections;
using log4net;
using ForumLibrary;
using ForumLibrary.Data;

namespace ForumServer
{
    public class ForumServer
    {

        public static void Main(string[] args)
        {
            //IForumManager forumManager = new ForumManager();
            ForumLibrary.Data.ForumManager forumManager = new ForumGUIManager();
            forumManager.loadUsers();
            forumManager.register("1", "1", "shai", "1", "1", "1", false);
            //forumManager.demo();
            ServerConfiguration.configure(ref forumManager);
        }
    }
}
